.class public Lcn/cheln/explorer/ui/FileListViewHolder;
.super Lcn/cheln/explorer/ui/b;


# instance fields
.field private a:Lcom/direction/hold/ui/FileCursorActivity;


# direct methods
.method public constructor <init>(Landroid/view/View;Lcom/direction/hold/ui/CommonActivity;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcn/cheln/explorer/ui/b;-><init>(Landroid/view/View;Lcom/direction/hold/ui/CommonActivity;)V

    check-cast p2, Lcom/direction/hold/ui/FileCursorActivity;

    iput-object p2, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    return-void
.end method

.method private a(Lcn/cheln/explorer/ds/database/a;Ljava/lang/Object;)Ljava/lang/Object;
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v0}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v0

    const/4 v1, -0x1

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v0, v2}, Lcn/cheln/explorer/actions/sort/a;->a(I)V

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v0, v2}, Lcn/cheln/explorer/actions/sort/a;->b(I)V

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    iget-object v1, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v1, v1, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    invoke-interface {v0, v1}, Lcn/cheln/explorer/actions/sort/a;->a(Ljava/lang/String;)Lcn/cheln/explorer/actions/sort/a;

    move-result-object v0

    invoke-interface {v0}, Lcn/cheln/explorer/actions/sort/a;->c()Ljava/lang/Object;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    move-object v0, p2

    goto :goto_0
.end method

.method private a(Z)V
    .locals 12

    const/4 v9, 0x6

    const/4 v8, 0x5

    const-class v3, Lcn/cheln/explorer/beans/FileInfo;

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/FileCursorActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v1, v1, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v1}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcn/cheln/explorer/ds/a/c;

    invoke-static {}, Lcn/cheln/explorer/ds/database/c;->a()Ljava/util/Map;

    move-result-object v2

    iget-object v1, v1, Lcn/cheln/explorer/ds/a/c;->b:Ljava/lang/Object;

    invoke-interface {v2, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcn/cheln/explorer/ds/database/b;

    new-instance v2, Lcn/cheln/explorer/ds/database/b;

    invoke-direct {v2, v1}, Lcn/cheln/explorer/ds/database/b;-><init>(Lcn/cheln/explorer/ds/database/b;)V

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    iget-object v4, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v4, v4, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    invoke-interface {v1, v4}, Lcn/cheln/explorer/actions/sort/a;->a(Ljava/lang/String;)Lcn/cheln/explorer/actions/sort/a;

    move-result-object v1

    invoke-interface {v1}, Lcn/cheln/explorer/actions/sort/a;->c()Ljava/lang/Object;

    move-result-object v4

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    invoke-virtual {v1}, Lcom/direction/hold/ui/FileCursorActivity;->e()Lcn/cheln/support/adapter/d;

    move-result-object v5

    :try_start_0
    move-object v0, v2

    check-cast v0, Lcn/cheln/explorer/ds/database/b;

    move-object v1, v0

    iget-object v6, v1, Lcn/cheln/explorer/ds/database/b;->c:Landroid/database/Cursor;

    if-eqz v6, :cond_1

    iget-object v6, v1, Lcn/cheln/explorer/ds/database/b;->c:Landroid/database/Cursor;

    invoke-interface {v6}, Landroid/database/Cursor;->isClosed()Z

    move-result v6

    if-nez v6, :cond_0

    iget-object v6, v1, Lcn/cheln/explorer/ds/database/b;->c:Landroid/database/Cursor;

    invoke-interface {v6}, Landroid/database/Cursor;->close()V

    :cond_0
    const/4 v6, 0x0

    iput-object v6, v1, Lcn/cheln/explorer/ds/database/b;->c:Landroid/database/Cursor;

    :cond_1
    iget-object v6, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v6, v6, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    const-string v7, "audio"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_3

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, v6, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v6}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v6

    if-nez v6, :cond_13

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v6, 0x0

    invoke-interface {v4, v6}, Lcn/cheln/explorer/actions/sort/a;->a(I)V

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v6, 0x0

    invoke-interface {v4, v6}, Lcn/cheln/explorer/actions/sort/a;->b(I)V

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    iget-object v2, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v2, v2, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    invoke-interface {v4, v2}, Lcn/cheln/explorer/actions/sort/a;->a(Ljava/lang/String;)Lcn/cheln/explorer/actions/sort/a;

    move-result-object v2

    invoke-interface {v2}, Lcn/cheln/explorer/actions/sort/a;->c()Ljava/lang/Object;

    move-result-object v2

    move-object v4, v3

    move-object v3, v2

    move-object v2, v5

    :goto_0
    iget-object v5, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, v1, Lcn/cheln/explorer/ds/database/b;->d:Landroid/net/Uri;

    iget-object v7, v1, Lcn/cheln/explorer/ds/database/b;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    sget-object v8, Lcn/cheln/explorer/ui/SearchListViewHolder;->h:Ljava/lang/String;

    new-instance v9, Ljava/lang/StringBuilder;

    const-string v10, " order by "

    invoke-direct {v9, v10}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v9, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v5, v6, v7, v8, v3}, Lcn/cheln/explorer/ds/a;->a(Landroid/content/Context;Landroid/net/Uri;Lcn/cheln/explorer/ds/database/CategoryInfo;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v3

    iput-object v3, v1, Lcn/cheln/explorer/ds/database/b;->c:Landroid/database/Cursor;

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v3, v2}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->a(Lcn/cheln/support/adapter/d;)V

    new-instance v2, Lcn/cheln/explorer/cpnt/adapter/b;

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    iget-object v1, v1, Lcn/cheln/explorer/ds/database/b;->c:Landroid/database/Cursor;

    iget-object v5, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v5, v5, Lcom/direction/hold/ui/FileCursorActivity;->B:Ljava/util/HashMap;

    invoke-direct {v2, v3, v1, v5, v4}, Lcn/cheln/explorer/cpnt/adapter/b;-><init>(Landroid/content/Context;Landroid/database/Cursor;Ljava/util/Map;Ljava/lang/Class;)V

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/FileCursorActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v1, v2}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->a(Lcn/cheln/support/adapter/a;)V

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/FileCursorActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v2}, Lcn/cheln/support/adapter/a;->d()I

    move-result v2

    invoke-virtual {v1, v2}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->b(I)V

    if-nez p1, :cond_2

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/FileCursorActivity;->c:Landroid/widget/ListView;

    iget-object v2, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v2, v2, Lcom/direction/hold/ui/FileCursorActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    :cond_2
    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/FileCursorActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v1}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->notifyDataSetChanged()V

    :goto_1
    return-void

    :cond_3
    iget-object v6, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v6, v6, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    const-string v7, "image"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_6

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, v6, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v6}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v6

    if-eq v6, v8, :cond_4

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, v6, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v6}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v6

    if-ne v6, v9, :cond_5

    :cond_4
    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v6, 0x0

    invoke-interface {v4, v6}, Lcn/cheln/explorer/actions/sort/a;->a(I)V

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v6, 0x0

    invoke-interface {v4, v6}, Lcn/cheln/explorer/actions/sort/a;->b(I)V

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    iget-object v6, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v6, v6, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    invoke-interface {v4, v6}, Lcn/cheln/explorer/actions/sort/a;->a(Ljava/lang/String;)Lcn/cheln/explorer/actions/sort/a;

    move-result-object v4

    invoke-interface {v4}, Lcn/cheln/explorer/actions/sort/a;->c()Ljava/lang/Object;

    move-result-object v4

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v7, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v7, 0x1

    iput v7, v6, Lcom/direction/hold/ui/FileCursorActivity;->D:I

    :goto_2
    iget-object v2, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    sget-object v6, Lcn/cheln/explorer/config/a;->a:Ljava/lang/Float;

    iput-object v6, v2, Lcn/cheln/explorer/ds/database/CategoryInfo;->imageFilterSize:Ljava/lang/Float;

    move-object v2, v5

    move-object v11, v4

    move-object v4, v3

    move-object v3, v11

    goto/16 :goto_0

    :cond_5
    invoke-direct {p0, v2, v4}, Lcn/cheln/explorer/ui/FileListViewHolder;->a(Lcn/cheln/explorer/ds/database/a;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v7, -0x1

    iput v7, v6, Lcom/direction/hold/ui/FileCursorActivity;->D:I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_1

    :cond_6
    :try_start_1
    iget-object v6, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v6, v6, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    const-string v7, "video"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_9

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, v6, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v6}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v6

    if-eq v6, v8, :cond_7

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, v6, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v6}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v6

    if-ne v6, v9, :cond_8

    :cond_7
    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v6, 0x0

    invoke-interface {v4, v6}, Lcn/cheln/explorer/actions/sort/a;->a(I)V

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v6, 0x0

    invoke-interface {v4, v6}, Lcn/cheln/explorer/actions/sort/a;->b(I)V

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    iget-object v2, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v2, v2, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    invoke-interface {v4, v2}, Lcn/cheln/explorer/actions/sort/a;->a(Ljava/lang/String;)Lcn/cheln/explorer/actions/sort/a;

    move-result-object v2

    invoke-interface {v2}, Lcn/cheln/explorer/actions/sort/a;->c()Ljava/lang/Object;

    move-result-object v2

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v6, 0x1

    iput v6, v4, Lcom/direction/hold/ui/FileCursorActivity;->D:I

    move-object v4, v3

    move-object v3, v2

    move-object v2, v5

    goto/16 :goto_0

    :cond_8
    invoke-direct {p0, v2, v4}, Lcn/cheln/explorer/ui/FileListViewHolder;->a(Lcn/cheln/explorer/ds/database/a;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v6, -0x1

    iput v6, v4, Lcom/direction/hold/ui/FileCursorActivity;->D:I

    move-object v4, v3

    move-object v3, v2

    move-object v2, v5

    goto/16 :goto_0

    :cond_9
    iget-object v6, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v6, v6, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    const-string v7, "doc"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_c

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, v6, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v6}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v6

    if-eq v6, v8, :cond_a

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, v6, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v6}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v6

    if-ne v6, v9, :cond_b

    :cond_a
    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v6, 0x0

    invoke-interface {v4, v6}, Lcn/cheln/explorer/actions/sort/a;->a(I)V

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v6, 0x0

    invoke-interface {v4, v6}, Lcn/cheln/explorer/actions/sort/a;->b(I)V

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    iget-object v2, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v2, v2, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    invoke-interface {v4, v2}, Lcn/cheln/explorer/actions/sort/a;->a(Ljava/lang/String;)Lcn/cheln/explorer/actions/sort/a;

    move-result-object v2

    invoke-interface {v2}, Lcn/cheln/explorer/actions/sort/a;->c()Ljava/lang/Object;

    move-result-object v2

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v6, 0x1

    iput v6, v4, Lcom/direction/hold/ui/FileCursorActivity;->D:I

    move-object v4, v3

    move-object v3, v2

    move-object v2, v5

    goto/16 :goto_0

    :cond_b
    invoke-direct {p0, v2, v4}, Lcn/cheln/explorer/ui/FileListViewHolder;->b(Lcn/cheln/explorer/ds/database/a;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    invoke-direct {p0, v2, v4}, Lcn/cheln/explorer/ui/FileListViewHolder;->a(Lcn/cheln/explorer/ds/database/a;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v6, -0x1

    iput v6, v4, Lcom/direction/hold/ui/FileCursorActivity;->D:I

    move-object v4, v3

    move-object v3, v2

    move-object v2, v5

    goto/16 :goto_0

    :cond_c
    iget-object v6, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v6, v6, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    const-string v7, "apk"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_10

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v3}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v3

    if-eq v3, v8, :cond_d

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v3}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v3

    if-ne v3, v9, :cond_e

    :cond_d
    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v4, 0x0

    invoke-interface {v3, v4}, Lcn/cheln/explorer/actions/sort/a;->a(I)V

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v4, 0x0

    invoke-interface {v3, v4}, Lcn/cheln/explorer/actions/sort/a;->b(I)V

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    iget-object v2, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v2, v2, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    invoke-interface {v3, v2}, Lcn/cheln/explorer/actions/sort/a;->a(Ljava/lang/String;)Lcn/cheln/explorer/actions/sort/a;

    move-result-object v2

    invoke-interface {v2}, Lcn/cheln/explorer/actions/sort/a;->c()Ljava/lang/Object;

    move-result-object v2

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v4, 0x1

    iput v4, v3, Lcom/direction/hold/ui/FileCursorActivity;->D:I

    :goto_3
    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    invoke-virtual {v3}, Lcom/direction/hold/ui/FileCursorActivity;->I()Lcn/cheln/support/adapter/d;

    move-result-object v3

    const-class v4, Lcn/cheln/explorer/beans/ApkInfo;

    move-object v11, v3

    move-object v3, v2

    move-object v2, v11

    goto/16 :goto_0

    :cond_e
    invoke-direct {p0, v2, v4}, Lcn/cheln/explorer/ui/FileListViewHolder;->a(Lcn/cheln/explorer/ds/database/a;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v4}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v4

    const/4 v5, 0x3

    if-ne v4, v5, :cond_f

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v4, 0x0

    invoke-interface {v3, v4}, Lcn/cheln/explorer/actions/sort/a;->a(I)V

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v4, 0x0

    invoke-interface {v3, v4}, Lcn/cheln/explorer/actions/sort/a;->b(I)V

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->k:Lcom/direction/hold/ui/CommonActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/CommonActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    iget-object v4, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v4, v4, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    invoke-interface {v3, v4}, Lcn/cheln/explorer/actions/sort/a;->a(Ljava/lang/String;)Lcn/cheln/explorer/actions/sort/a;

    move-result-object v3

    invoke-interface {v3}, Lcn/cheln/explorer/actions/sort/a;->c()Ljava/lang/Object;

    move-result-object v3

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v5, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v5, 0x0

    iput v5, v4, Lcom/direction/hold/ui/FileCursorActivity;->D:I

    :cond_f
    invoke-direct {p0, v2, v3}, Lcn/cheln/explorer/ui/FileListViewHolder;->b(Lcn/cheln/explorer/ds/database/a;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    goto :goto_3

    :cond_10
    iget-object v6, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v6, v6, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    const-string v7, "lewa/theme"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_13

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, v6, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v6}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v6

    if-eq v6, v8, :cond_11

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, v6, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v6}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v6

    if-ne v6, v9, :cond_12

    :cond_11
    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v6, 0x0

    invoke-interface {v4, v6}, Lcn/cheln/explorer/actions/sort/a;->a(I)V

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    const/4 v6, 0x0

    invoke-interface {v4, v6}, Lcn/cheln/explorer/actions/sort/a;->b(I)V

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    iget-object v2, v2, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v2, v2, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    invoke-interface {v4, v2}, Lcn/cheln/explorer/actions/sort/a;->a(Ljava/lang/String;)Lcn/cheln/explorer/actions/sort/a;

    move-result-object v2

    invoke-interface {v2}, Lcn/cheln/explorer/actions/sort/a;->c()Ljava/lang/Object;

    move-result-object v2

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v6, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v6, 0x1

    iput v6, v4, Lcom/direction/hold/ui/FileCursorActivity;->D:I

    move-object v4, v3

    move-object v3, v2

    move-object v2, v5

    goto/16 :goto_0

    :cond_12
    invoke-direct {p0, v2, v4}, Lcn/cheln/explorer/ui/FileListViewHolder;->b(Lcn/cheln/explorer/ds/database/a;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    invoke-direct {p0, v2, v4}, Lcn/cheln/explorer/ui/FileListViewHolder;->a(Lcn/cheln/explorer/ds/database/a;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v6, -0x1

    iput v6, v4, Lcom/direction/hold/ui/FileCursorActivity;->D:I
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move-object v4, v3

    move-object v3, v2

    move-object v2, v5

    goto/16 :goto_0

    :cond_13
    move-object v2, v5

    move-object v11, v4

    move-object v4, v3

    move-object v3, v11

    goto/16 :goto_0
.end method

.method private b(Lcn/cheln/explorer/ds/database/a;Ljava/lang/Object;)Ljava/lang/Object;
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v0}, Lcn/cheln/explorer/actions/sort/a;->a()I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v0, v2}, Lcn/cheln/explorer/actions/sort/a;->a(I)V

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v0, v2}, Lcn/cheln/explorer/actions/sort/a;->b(I)V

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    iget-object v1, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v1, v1, Lcn/cheln/explorer/ds/database/CategoryInfo;->categorySign:Ljava/lang/String;

    invoke-interface {v0, v1}, Lcn/cheln/explorer/actions/sort/a;->a(Ljava/lang/String;)Lcn/cheln/explorer/actions/sort/a;

    move-result-object v0

    invoke-interface {v0}, Lcn/cheln/explorer/actions/sort/a;->c()Ljava/lang/Object;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    move-object v0, p2

    goto :goto_0
.end method


# virtual methods
.method public final a()V
    .locals 1

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->j:Landroid/view/View;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    invoke-virtual {v0}, Lcom/direction/hold/ui/FileCursorActivity;->f()Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->j:Landroid/view/View;

    :cond_0
    invoke-virtual {p0}, Lcn/cheln/explorer/ui/FileListViewHolder;->b()V

    return-void
.end method

.method public final varargs a([Ljava/lang/Object;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcn/cheln/explorer/ui/FileListViewHolder;->a(Z)V

    return-void
.end method

.method public final b()V
    .locals 2

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->j:Landroid/view/View;

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/FileCursorActivity;->setContentView(Landroid/view/View;)V

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    invoke-virtual {v0}, Lcom/direction/hold/ui/FileCursorActivity;->o()V

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const-class v1, Lcn/cheln/explorer/cpnt/adapter/CountAdapter;

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/FileCursorActivity;->a(Ljava/lang/Class;)V

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    invoke-virtual {v0}, Lcom/direction/hold/ui/FileCursorActivity;->r()V

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->c:Landroid/widget/ListView;

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/FileCursorActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    return-void
.end method

.method public final c()V
    .locals 5

    const/4 v4, 0x0

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget v1, v1, Lcom/direction/hold/ui/FileCursorActivity;->n:I

    iget-object v2, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v2, v2, Lcom/direction/hold/ui/FileCursorActivity;->m:Lcn/cheln/explorer/ds/a/c;

    iget-object v2, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget v2, v2, Lcom/direction/hold/ui/FileCursorActivity;->l:I

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->j:Ljava/util/List;

    invoke-virtual {v0, v1, v2, v4}, Lcom/direction/hold/ui/FileCursorActivity;->a(III)V

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget v1, v1, Lcom/direction/hold/ui/FileCursorActivity;->l:I

    iget-object v2, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v2, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v2, v2, Lcom/direction/hold/ui/FileCursorActivity;->m:Lcn/cheln/explorer/ds/a/c;

    invoke-virtual {v0, v1, v4, v2}, Lcom/direction/hold/ui/FileCursorActivity;->a(IILcn/cheln/explorer/ds/a/c;)V

    return-void
.end method

.method public final d()V
    .locals 5

    const/4 v4, 0x0

    :try_start_0
    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->c:Landroid/widget/ListView;

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v0}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->c()Ljava/util/Map;

    move-result-object v0

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/FileCursorActivity;->c:Landroid/widget/ListView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    const/4 v1, 0x1

    invoke-direct {p0, v1}, Lcn/cheln/explorer/ui/FileListViewHolder;->a(Z)V

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v2, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget v2, v2, Lcom/direction/hold/ui/FileCursorActivity;->n:I

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->m:Lcn/cheln/explorer/ds/a/c;

    if-nez v0, :cond_2

    move v0, v4

    :goto_1
    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v3, 0x2

    iget-object v4, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v4, v4, Lcom/direction/hold/ui/FileCursorActivity;->j:Ljava/util/List;

    invoke-virtual {v1, v2, v0, v3}, Lcom/direction/hold/ui/FileCursorActivity;->a(III)V

    iget-object v1, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/FileCursorActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    iget v0, v0, Lcn/cheln/explorer/ds/a/c;->a:I

    iget-object v2, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    const/4 v2, 0x2

    iget-object v3, p0, Lcn/cheln/explorer/ui/FileListViewHolder;->a:Lcom/direction/hold/ui/FileCursorActivity;

    iget-object v3, v3, Lcom/direction/hold/ui/FileCursorActivity;->m:Lcn/cheln/explorer/ds/a/c;

    invoke-virtual {v1, v0, v2, v3}, Lcom/direction/hold/ui/FileCursorActivity;->a(IILcn/cheln/explorer/ds/a/c;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0

    :cond_2
    :try_start_1
    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move-result v0

    goto :goto_1
.end method
